package com.seg.system.domain;

import com.seg.common.annotation.Excel;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 【请填写功能名称】对象 t_equipment
 *
 * @author ruoyi
 * @date 2023-06-26
 */
public class TEquipmentV {
    private static final long serialVersionUID = 1L;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号")
    @NotBlank(message = "设备编号不能为空")
    private String serialNo;

    /**
     * 设备名称
     */
    @Excel(name = "设备名称")
    @NotBlank(message = "设备名称不能为空")
    private String equipName;

    /**
     * 产线
     */
    @Excel(name = "产线")
    @NotBlank(message = "产线不能为空")
    private String line;

    /**
     * 工位
     */
    @Excel(name = "工位")
    @NotBlank(message = "工位不能为空")
    private String station;

    /**
     * 数量
     */
    @Excel(name = "数量")
    @NotNull(message = "数量不能为空")
    private Long quantity;

    /**
     * 单位
     */
    @Excel(name = "单位")
    @NotBlank(message = "单位不能为空")
    private String unit;

    /**
     * 0 未使用 1使用
     */
    @Excel(name = "状态")
    @NotBlank(message = "设备状态不能为空")
    private String status;

    /**
     * sop时间
     */
    @Excel(name = "sop时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sopTime;

    @Excel(name = "备注")
    private String remark;

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getEquipName() {
        return equipName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public String getLine() {
        return line;
    }

    public void setLine(String line) {
        this.line = line;
    }

    public String getStation() {
        return station;
    }

    public void setStation(String station) {
        this.station = station;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getSopTime() {
        return sopTime;
    }

    public void setSopTime(Date sopTime) {
        this.sopTime = sopTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
